﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace XamlTemplateWizard
{
    public class CheckBoxList : ListBox
    {



        #region protected override bool  IsItemItsOwnContainerOverride(object item)
        protected override bool IsItemItsOwnContainerOverride(object item)
        {
            return item is CheckBoxListItem;
        }
        #endregion


        #region protected override System.Windows.DependencyObject  GetContainerForItemOverride()
        protected override System.Windows.DependencyObject GetContainerForItemOverride()
        {
            return new CheckBoxListItem();
        }
        #endregion


    }
}
